package com.ea.admin.pojo.vo.department;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class DepartmentVo {
    @ApiModelProperty("部门的id-主键")
    private String deptId;

    @ApiModelProperty("部门名称")
    private String deptName;

    @ApiModelProperty("上级部门id")
    private String supDeptId;

    @ApiModelProperty("上级部门名称")
    private String supDeptName;

    @ApiModelProperty("单位id")
    private String companyId;

    @ApiModelProperty("单位名称")
    private String companyName;

    @ApiModelProperty("下级部门列表")
    List<DepartmentVo> subDeptVoList;

    @ApiModelProperty("部门联系人id")
    private String contactAdminId;

    @ApiModelProperty("部门联系人名称")
    private String contactAdminName;

    @ApiModelProperty("部门联系人电话")
    private String contactAdminPhoneNum;
}
